GDK-Win32: Drop Some Unused Items
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 22 Dec 2014 03:25:49 +0000 (11:25 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 22 Dec 2014 03:25:49 +0000 (11:25 +0800)
There were a bit of unused items from the GDK-Win32 work on GL support, so
drop them.

gdk/win32/gdkdisplay-win32.h
gdk/win32/gdkglcontext-win32.c

index a3e2ea1e66f4713e4e72b6f46dca1e5c1049cfef..1623c7eb72a95e780a24571a5a0ff3bf0e374d39 100644 (file)
@@ -33,8 +33,6 @@ struct _GdkWin32Display
   HWND gl_hwnd;
 
   guint hasWglARBCreateContext : 1;
-  guint hasWglARBPbuffer : 1;
-  guint hasWglARBRenderTexture : 1;
   guint hasWglEXTSwapControl : 1;
   guint hasWglOMLSyncControl : 1;
 };
index 7f61493c66b5a31e64bee142b3dfcd89f4f47b2d..d661770a48c6f0c720a75270aa0915284a1a572d 100644 (file)
@@ -493,8 +493,6 @@ _gdk_win32_window_create_gl_context (GdkWindow *window,
   gboolean need_alpha_bits = (visual == gdk_screen_get_rgba_visual (gdk_display_get_default_screen (display)));
 
   /* Real GL Context and Window items */
-  WNDCLASSEX wc;
-  ATOM wc_atom;
   HWND hwnd;
   HDC hdc;
   HGLRC hglrc;